package com.mengdie.shuidi.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.mengdie.shuidi.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by apple on 16/10/12.
 */

public class ForGetSuccessActivity extends BaseActivity {

    @Bind(R.id.rl_generic_back)
    RelativeLayout mRlGenericBack;
    @Bind(R.id.tv_generic_title)
    TextView mTvGenericTitle;
    @Bind(R.id.tv_forget_submit)
    TextView mTvForgetSubmit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_forget_success);
        ButterKnife.bind(this);
        init();
    }

    public void init(){
        mTvGenericTitle.setText("忘记密码");
    }

    @OnClick({R.id.rl_generic_back, R.id.tv_forget_submit})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.rl_generic_back:
                onBackPressed();
                break;
            case R.id.tv_forget_submit:
                finish();
                break;
        }
    }
}
